<div class="userrightmenu">
	<span class="fr">您已发布租车 <span class="orange01"><{$usercarcounts.3}></span> 辆，在租 <span class="orange01"><{$usercarcounts.4}></span> 辆，已出租 <span class="orange01"><{$usercarcounts.5}></span> 辆</span><a href="<{$weburl}>/index.php?m=user&a=addrentcar">发布租车</a>
</div>
<div class="userrightsearch clearfix">
	<div class="fr">
		<form method="get" action="<{$weburl}>/index.php">
			<input type="text" name="keywords" class="keyword" size="30"><input type="submit" class="but01" value="搜 索"><input type="hidden" name="m" value="user"><input type="hidden" name="a" value="rentcarlist">
		</form>
	</div>
</div>
<table cellspacing="0" cellpadding="0" width="100%"  class="listtable">
	<tr>
		<th width="100">图</th>
		<th>车型信息</th>
		<th>报价</th>
		<th width="100">操作</th>
	</tr>
	<{foreach from=$rentcarslist item=rentcar}>
	<tr bgcolor="#ffffff" onmouseover="style.backgroundColor='#f5f5f5'"  onmouseout="style.backgroundColor='#ffffff'">
		<td align="center" width="100">
		<div class="carimg">
			<{if $rentcar.isrent==1}><div class="carstatus">已出租</div><{else}><{if $rentcar.isshow==0}><div class="carstatus">未审核</div><{elseif $rentcar.isshow==2}><div class="carstatus">未通过审核</div><{/if}><{/if}>
			<{if $rentcar.p_mainpic<>''}><img src="<{$rentcar.p_mainpic}>" width="80" height="60"/><{else}><div class="noimg">未上传图片</div><{/if}>
		</div>
		</td>
		<td align="left">
			<p><a href="<{$rentcar.p_url}>" target="_blank" class="f14 fb"><{$rentcar.p_title}></a><{if $rentcar.p_pics!=""}><span class="red">图</span><{/if}> <{if $rentcar.isrent==1}><span class="red">已出租</span><{/if}></p> 
			<p class="gray">品牌：<{$rentcar.p_allname}> / 车型：<{$rentcar.p_modelname}></p>
			<p class="gray">刷新时间：<{$rentcar.listtime}></p>
		</td>
		<td align="center" class="orange01 f14"><{$rentcar.dayprice}>元/天</td>
		<td align="center" class="acmenu"><a href="<{$weburl}>/index.php?m=user&a=editrentcar&id=<{$rentcar.p_id}>&page=<{$currpage}>">编辑</a> | <a href="javascript:if(confirm('确实要删除吗?'))location='<{$weburl}>/index.php?m=user&a=delrentcar&id=<{$rentcar.p_id}>&page=<{$currpage}>'">删除</a> | <a href="<{$weburl}>/index.php?m=user&a=refreshrentcar&id=<{$rentcar.p_id}>&page=<{$currpage}>">刷新</a>
        	<{if $rentcar.isshow==1}><p><a href="<{$weburl}>/index.php?m=user&a=rentcar&rent=<{if $rentcar.isrent==1}>0<{else}>1<{/if}>&id=<{$rentcar.p_id}>&page=<{$currpage}>"><{if $rentcar.isrent==1}>恢复为在租<{else}>设置为已出租<{/if}></a>
			</p><{/if}>
	</tr>
	<{/foreach}>
</table>
<div class="page_list">
	<{$button_basic}>
</div>